package jingtaidaili;

/**
 * @author ：Xiaochen
 * @date ：Created in 2022/11/9 19:28
 * @description：
 * @modified By：
 * @version:
 */
public class FCZJ implements Chuzu{
    //被代理的对象
    private FangDong target;

    public FCZJ(FangDong target) {
        this.target = target;
    }

    @Override
    public void chuzu() {
        intro();
        watch();
        target.chuzu();

    }
    public void watch(){
        System.out.println("看房");
    }
    public void intro(){
        System.out.println("房源介绍");
    }
}